package third;

public class third_24 {
    public static void main(String[] args) {
		int num = (int)(Math.random() * 100) % 13 + 1;
		int color = (int)(Math.random() * 10) % 4;
		System.out.print("The card you picked is ");
		if(num==1) {
			System.out.print("Ace");
		}
		else if(num==11) {
			System.out.print("Jack");
		}
		else if(num==12) {
			System.out.print("Queen");
		}
		else if(num==13) {
			System.out.print("King");
		}
		else {
			System.out.print(num);
		}
		System.out.print(" of ");

		if(color == 0) {
			System.out.print("Clubs");
		}
		else if(color == 1) {
			System.out.print("Diamonds");
		}
		else if(color == 2) {
			System.out.print("Hearts");
		}
		else {
			System.out.print("Spades");
		}
    }
}
